// pages/index/index.js
Page({
    data: {
      title: "客服问答小程序"
    },
    onNavigateToChat() {
      wx.navigateTo({
        url: '/pages/chat/chat'
      });
    }
  });